package com.kylin;

import org.apache.spark.api.java.JavaRDD;
import org.apache.spark.api.java.JavaSparkContext;
import org.apache.spark.api.java.function.Function;
import org.apache.spark.sql.*;
import org.apache.spark.sql.types.DataTypes;
import org.apache.spark.sql.types.StructType;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Properties;

/**
 * @author tianfusheng
 * @e-mail linuxmorebetter@gmail.com
 * @date 2020/2/5
 */
public class EngineStart {
    public static void main(String[] args) {
        SparkSession spark = SparkSession.builder().master("local").appName("SparkJdbcDemo").getOrCreate();
        Core.step1(spark);
        spark.stop();
    }
}
